<%--
  Created by IntelliJ IDEA.
  User: wt003
  Date: 2020-03-13
  Time: 10:00
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="shiro"  uri="http://shiro.apache.org/tags" %>
<!-- Side Navbar -->
<nav class="side-navbar">
    <!-- Sidebar Header-->
    <div class="sidebar-header d-flex align-items-center" id="wmod-div">
        <%--<div class="avatar"><img src="${pageContext.request.contextPath}/img/Charging/logo.png" alt="..." class="img-fluid rounded-circle"></div>--%>
        <div class="avatar_last"><img src="${pageContext.request.contextPath}/img/Charging/logo1_3.png" alt="..." class="img-fluid rounded-circle"></div>
        <div class="title" id="menu-titile">
            <h1 class="h4">HZQD</h1>
            <p>超级管理员</p>
        </div>
    </div>
    <!-- Sidebar Navidation Menus--><span class="heading">欢迎登录集抄预付费管理系统</span>
    <ul class="list-unstyled">
        <li id="home-menu"><a href="/index"> <i class="icon-home"></i>主页 </a></li>
        <shiro:hasPermission name="meter:*">
            <li id="meter-menu"><a href="/meter/meterPage"> <i class="icon-grid"></i>表记管理 </a></li>
        </shiro:hasPermission>
        <shiro:hasPermission name="area:*">
            <li id="area-menu"><a href="/area/areaPage"> <i class="fa fa-bar-chart"></i>区域管理 </a></li>
        </shiro:hasPermission>
        <shiro:hasPermission name="merchant:*">
            <li id="merchant-menu"><a href="/merchant/merchantPage"> <i class="icon-padnote"></i>用户管理</a></li>
        </shiro:hasPermission>
        <shiro:hasPermission name="recharge:*">
            <li id="recharge-menu"><a href="/recharge/rechargePage"> <i class="fa fa-bar-chart"></i>账户充值 </a></li>
        </shiro:hasPermission>
        <shiro:hasPermission name="settlement:*">
            <li id="settlement-menu"><a href="/settlement/settlementPage"> <i class="icon-padnote"></i>账户结算 </a></li>
        </shiro:hasPermission>
        <shiro:hasPermission name="query:*">
            <li id="query-menu"><a href="/query/queryMerchantPage"> <i class="fa fa-bar-chart"></i>流水查询 </a></li>
        </shiro:hasPermission>
        <shiro:hasPermission name="report:*">
            <li id="report-menu"><a href="/report/reportByComsPage"> <i class="icon-padnote"></i>报表查询</a></li>
        </shiro:hasPermission>
        <shiro:hasPermission name="system:*">
            <li id="system-menu"><a href="/system/userPage"> <i class="icon-padnote"></i>系统管理</a></li>
        </shiro:hasPermission>
        <li><a href="/logout"> <i class="icon-interface-windows"></i>Login page </a></li>
    </ul>
</nav>
